package com.wowudi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@ApiModel(value="设备")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "equipment")
public class Equipment implements Serializable {
    /**
     * 设备id
     */
    @TableId(value = "eq_id", type = IdType.AUTO)
    @ApiModelProperty(value="设备id")
    private Integer eqId;

    /**
     * 科室id
     */
    @TableField(value = "dpc_id")
    @ApiModelProperty(value="科室id")
    private Integer dpcId;

    /**
     * 设备价格
     */
    @TableField(value = "eq_name")
    @ApiModelProperty(value="设备价格")
    private String eqName;

    /**
     * 设备价格
     */
    @TableField(value = "eq_price")
    @ApiModelProperty(value="设备价格")
    private BigDecimal eqPrice;

    /**
     * 设备数量
     */
    @TableField(value = "eq_number")
    @ApiModelProperty(value="设备数量")
    private Integer eqNumber;

    /**
     * 设备编号
     */
    @TableField(value = "eq_saplings")
    @ApiModelProperty(value="设备编号")
    private String eqSaplings;

    /**
     * 设备状态:0正常,1损坏
     */
    @TableField(value = "eq_state")
    @ApiModelProperty(value="设备状态:0正常,1损坏")
    private String eqState;

    private static final long serialVersionUID = 1L;
}
